Packetery\Module\Upgrade S

Total Complexity 37
Dependencies 18
Dependents 1
Total lines 412
Lines of code 203
Logical lines of code 101
Comment lines 128
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
check()
A
44 12 47
migrateWpOrderMetadata()
S
40 4 64
getValidatedAddressIdByOrderId()
S
58 2 16
getMetaAsNullableString()
S
73 3 4
getMetaAsNullableFloat()
S
73 3 4
addQueryVars()
S
60 2 14
handleCustomQueryVar()
S
68 2 7
createLogTable()
S
67 2 8
createCarrierTable()
S
73 2 5
createOrderTable()
S
73 2 5
createAddressFromPostId()
S
61 1 12
__construct()
S
67 1 8
flashAndLog()
S
64 1 9